import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import LeonBtton from './components/button'
import LeonDialog from './components/dialog'
import LeonInput from './components/input'
import LeonSwitch from './components/switch'
import lableInput from './components/lableInput'
import formSelect from './components/formSelect'
import elementSelect from './components/elementSelect'

import './assets/font.css'

import Antd from 'ant-design-vue'
import Ele from 'element-ui'
import { Button,Dropdown,Icon,Menu} from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.component(Button.name, Button);
Vue.component(Dropdown.name,Dropdown);
Vue.component(Icon.name,Icon);
Vue.component(Menu.name,Menu);
Vue.component(elementSelect.name,elementSelect);
Vue.use(Antd);
Vue.use(Ele);


Vue.component(LeonBtton.name,LeonBtton)
Vue.component(LeonDialog.name,LeonDialog)
Vue.component(LeonInput.name,LeonInput)
Vue.component(LeonSwitch.name,LeonSwitch)
Vue.component(lableInput.name,lableInput)
Vue.component(formSelect.name,formSelect)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
